<template>
 <div>
  <MyDialog>
    <template #header>
      <h2>温馨提示</h2>
    </template>
    <template v-slot:content>
      <img style="width:200px" src="https://img0.baidu.com/it/u=3454478352,2148795049&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500" alt="">
      <h3>你好!大帅哥</h3>
    </template>
  </MyDialog>
  <MyDialog></MyDialog>
 </div>
</template>
<script>
import MyDialog from './components/MyDialog.vue'
export default {
  components: {
    MyDialog
  },
 data() {
 return {
 }
 },
}
</script>

